import request from "@/utils/request";
import type { LoginForm } from "@/types/login";
export function login(data: LoginForm) {
  return request({
    url: "/login",
    method: "post",
    data,
  });
}
